Task #9 of the assignment