Hw 8, task 1 (DONE)