get answers from a class