add statevarfilter