Check in createsurvey before cleaning up the code