now with error messages