Small alternative changes to index.rb