Simplified rpi c part