changed over to scanners from buffered readers