fmt: structure, context, scopes -- first cut