Added the instance numbers to the outputs