working version of the questionnaire, refactoring is due