refactoring in preparation for conversion of registerizeHarder