Adding rPI code