trying to get error messages