OOP problems final