Inner & outer loop control diagram