Added code to make the arduino work