typo and refactoring of method name