deprecate deliver method