integrating parser into chunker framework