More mature filter logic, but still raw.