added a Errai structure