added unmask method