adding hit counter