Commitng the model