changed work flow of domain events example