preliminary support of P.unfold