added all condition variables to the controller