Hw 5, task 2