functions.rb addition