corrected output of portfolio