getNewMask added