added maze stuff