added survey response functionality