added ext.rb