Hw 6, task 3