errors now work much better