refactoring error
bad refactoring