added model errors