forgotten parenthesis in balance.cpp