Biologists are able to turn on a gene in the brain of nematode worms that leads them to desire same-sex partners.