change line.match to line.length