modified application_helper.rb