adding mediator for communicating between objs