ex 6 task 2