modify data reader to check point number instead of skip fixed number of lines