How to attract a mate