Added new file, functions.rb