directory working