parseQuestion method