How a male fly knows when to make a move on a mate

Much like people, fruit flies must decide when the time and place are right to make a move on a mate. Male fruit flies use cues such as age and pheromones to gauge their chances of success, but just how they do that on a molecular level was a mystery.