Scanner redo

doscstring