add location query