added index2 & updated default.rb