added function on balancehistory