Added several error messages