updated the questionary class with my idea of how it should work