one more method to functional-ruby.rb