fp/add: add_directories method completed