Fixed #4 for portfolio