tiny refactoring.