some pvs functions