easier assignment to structs