adds directories