add multi mask with optionals