added check for mirroring in ICP