working on delivery cost calculation