laid groundwork for min-max refactoring (VBAT-53)