added method to set genders