add more doc to controller.php