add tn.rb formula