add more informative error messages..