new method loadLocalData