constructT, export definition, refactoring