reafactored arduinosendaction