added categories to events.rb