classmethod refactoring
typo