renderer2: moving to c stuff
renderer2: moving to c