modified mask call