updated topic.rb