work on dirs.