minor updates to controller.