modified index.erb file