legislating discrimination