can now add a directory, but it doesn't do anything useful