linecount added to parse flow