modified client to run on rpi