hasCheckPointMasks() check added