EventFlow class added