Switch Mediator moved to a method