more informative error messages