more work on comparison filter