prototype scan implementation (verify fails)