working on part 3 -- directory