add defs in maze class