added masking options