added 'create portfolio' function