funcs_for_pfs
