added ex31.rb