added event and category models