use struct error