make portfolios dynamic