add struct tool