trivial refactor