Added scan.h++