mechanism sex