Update functions.rb

mmm