added a working pmd example