added a comparison filter