minor Arduino code updates