updated simple_filter example