Adding more verbose error messages