Added more variables to control the arduino