added some example using a Pdef through an Ndef