add portafolio functions