homework 4, task 3