The physiological basis for the observed mate preferences in D. mojavensis was differences in hydrocarbons in the exoskeletons of the flies.