recording the answers of the questionnaire