minor changes to the controller declaration.