restored deleted scanner.h