directory to namespace
is external function
tdo