added a getQuestion method