commit functions and content