commit functions assignment