extend storage.rb code