working on directory entries