location function in indeed.py