atg. nested pointers to structs working