add supporting errors in models