refactoring class and method