redefine directory tree