OOP - third task completed