structure caused errors