adding new input widget base class