Adapted the design to take into account the gender