one line refactoring