refactored to get a single accurate location object ref #1