Working settype with mask