add some rudimentary TK support