Hw 4, task 2