added event and location models