added masking from config