debugging scan