updated for the gender