Added reset and commit