balancebox functions need fixed.