trivial refactoring