a skeleton custom build of mediator