added survey generate