core functionality of Median Maintenance complete