first version of survey generator