ex10.rb