cleaning up some of the arduino connectivity