added view.rb