add masking at boxes in define sample page