add DIR structure