first cut at error