Added find first value to linescan