closed loop p