Output in desired format, issue with TSI