added ex.4.4.rb