first add directories