implementing portfolio management