add freq.rb