added ex13.rb