get T_target from input