fix function name
finish chapter 7