now in working order to run examples.rb