P2c code done