working on the mazegen stuff -mike