attempting to add labyrinth functionality, not done yet.