adding good and bad linecount