dir initialize