PrepareToCommit