New methods with mask type and duration parameters