changes in modelMaze