modified hits.py