Implement the portfolio model