added .rb and index.erb