remaining error messages implemented