cleanup
added method to mediator