added ex19.rb