Small refactoring, renaming helper method