More debugging code added to PFN code