Hw 3, task 4