adding dirtree stuff