allow defining store on client