portfolio section refactoring