add export
save the event as a variable