commiting the images