added ability to skip initial lines