renamed x->filter to x->first_sym