Hw 7, task 1 (DONE)