using directories