added chip mask