added getAccountBalance static function