switch mask