Remove using std:: statements
Flush list output after each line if extracting