refactoring - typo