solved lines of code problem in Mediator constructor. created a new
method.