added new RemoveIf variant