add prototype for lineitems