set grnt to 0 when reading new 'lines'