add 2 options (skipPoints, skipLines)