use load function in store