adding Arduino code