make dir struct