small changes to demoPDH