removed unnecessary reset of hits