portfolio functionality added