Created newEventDetails var