Adjusted class 'event' to include event "E" (changing environment).