added pull of money_invested for portfolio