use Predicate in removeIf