see my note in helper.rb