adding to application.rb