Mark max and order as done