experimental code for arduino interface