add PCM implement to measure performance