finished index.rb