got working filtering code
attempted to get working classifier