work on ts format