Working on addDir (unfinished)