commit all at once