struct checker