made a few changes to talktoarduino code