intermediate commmit