Added scanMaze