Try a state variable filter.