interface: togglebin, toggledec, togglehex