check this out
added return value
Merge pull request #6 from hughrawlinson/refactorHitAnalysis

check this out