database  for  questionare code