brain masking implemented.