Added controller that tries to control all variables