warehouse_core.rb