changes to uv code