Solved task 5