code for survey multiple questions