added masking to map