add ts.h which is compiled