working on making it decide the uv depth dynamically; probably won't compile