commiting the results