still working on scanner.c