Added support for non-deterministic execution of events