ex1001.rb