Assignment 2 task 5