changed female and male to lowercase values