added variable to fetch all the questions on index