add new portfolio function