added ex38.rb