Added Partial Line Matching