creating event loading system