closed #8: completed exercise of lesson3