added code to modify for multiple Arduino communication