Solved task 3c