portfolio code