make it possible to filter based on state and validator