progress on generating structs of structs