additional utility method refactoring