A team of academics from the University of Cambridge, in collaboration with the Smithsonian Tropical Research Institute in Panama, observed the courtship rituals and sequenced the DNA from nearly 300 butterflies to find out how much of the genome was responsible for their mating behaviour.