getting filter working