added mediator example