atg. detecting and extracting embedded structs works