added config to controller state machine