Lab 5 task 4