added directories and subdirectories