add the addDeliveries function