added exercise 2 task 3