add functionality to answer questions on the main page