Hw 5, task 6