the first version of pdr
but still buggy
and no pdr in nonloop case yet