simple refactorings