intermediately commit