Solved task 8