oops, appendData needs to accept mixed lastlines