Multi layer masking