event data only loaded once then stored in variable