closed #7: completed exercise of lesson2