create msgbus event clean code