probably works. moved scanning behind itself to scanWalls