balance.c