new pde3, fixes to pde1 and pde2