updated mediator with stub