changed TermInput to have more than 1 input