dir constructure