changed event to event.rb