just a few bits in index.rb