slight updated to example.rb