Commit functions