added renderLabyrinth