refactor, typo in function name