commit in the middle