change overload for delivery func