Create frequency.rb