how to use mask network