continung with the "scan first line" variation: now treats it separately and prints it out