write and commit DONE!