engine to generate questionnaire