add Check for structs