inserting commit at each vio