finish Controller.rb