add backwards function for p_uv