add InputWidget implementation