close loop and open loop system