input for TD