added a hit counter