Create Median_maintenance