add struct id