changed the name of 'actions' to a more meaningful 'mediator'