parsing of survey data