added @SafeVarargs for filterLists