Do while commit