survey creation logic
create survey logic