adds directory feature