Added functionality to the arduinoStub