moved problems to problem class