updated text input base class