introduced apc prime, added refDevCnt