add comparator to finding site function