first cut at variant aware code