revised error messages