 Anatomy was not the only basis for gender.Being male or female was based primarily on occupation, appearance, actions and sexuality.A male "babaylan" could partake in romantic and sexual relations with other men without being judged by society.