changed masking system to simple system