rename example code for net_balance.c