add struct dir