questionable refactoring