doc for mediator