Lesson 4: Code review. Fix some errors