Stub code for event processing added