Modify to extend Input Widget