catching errors in data later