updated portfolio code formatting