made minor change in examples.rb