add struct command , tested