Updated task 6