first cut at a working bootstrap