data storage and location handling