Added new to the debugging of scan