add struct to parser