macro for doing the hit comparisons