cleaned up labyrinth.