added mediator sample