done iterating through arrayList in getLocations