refactor portfolio piece 5x