Changes in function.rb