Removed unused code for PNs