Added a hit tracker
Forgot to write the hits data