added 3 custom error messages