add doc to structs