created object class, changed Problem class