port semantic blocks to cc/ec convention