added some pns code
Merge remote-tracking branch 'origin/master'