roughly finished the NPL of creating event