min_cost backup added