closed-loop planning