core context upstream