got rid of old PN functions