OOP homerwork.