Added explanation for event code