simplify structs