implemented get_pv