refact code for incorporate shipping line item2