Add missing event variable