cleaned up maze