simple Refactoring