renamed balance to more explicit availableBalance