2th task OOP