Upgraded p-c md