added state filter