add type `t` for structs