Modified document to include the prompt for var gender