added line chunking parameter