added survey queries to retrieve data