added pns code