minor modifications to the controller state