added balanceByMonth