minor, just a refactoring