modified to add next button and some more questions