grnt should be set to 0 when reading new 'lines'