Added functionality to display questions