formatting TS example