added filter_f to setMany