add method to mediator