Portfolio.length instead of hardcoded length