a minor pure refactoring
2 files changed