fixes to C2 example