Added TermInput.scala