documentation of controller