mediator implemented. Bug with Edit