updated registering hits. works better now