debugging controllers