only store on commit