Made changes to example.rb