Vinegar flies use pheromones to ensure that they court and mate with members of the same species. As new fly species split off from a common ancestor, but continue to share the same environment, they need a way to rapidly diversify their pheromones to suppress inter-species mating. New research identifies a link between the genetic instructions for the production and perception of sex pheromones.