OOP - sixth task completed