How to determine the sex of a fly