tiny refactoring for a code layout