illegal race and sex-based discrimination