added program counter code