optimize variable name of struct ts_obj, has dedicated struct ts_input now