changed sex from text_field to selection box