refactor portfolio piece