format line items