how to mask with shape