renderer2: moving to c