ktbs: implemented ktbs:external built-in method