check structure