add method to populate lineitem