error messages now informative