Modified source for just TT inputs.