Added event code and first event.