Assignment 5: task 4