HW 8 - task 2. Completed.