Program counter api