beginning to work on wholesale/distributor integration (not yet completed and not tested)