code changes for portfolio