Completed exercise #9