Updated task 3