assign filters within anon function scope