Same gene, different mating techniques in flies