modfied the hit part and removed the logs