make the tool stuff more arduinoish