updaed to include wires from rf to pi for clarity