added classes to LongProblem3