added cache-write to location_info()