implemented the BestLocationTask