Researchers have analysed, at unprecedented breadth and depth, the evolutionary history of how a protein – which is essential for the fertility of male fruit flies and emerged from previously non-coding DNA became functional and took on a relatively stable structure.