scans with masking