renamed serial to serialConnection to prevent issues with pyserial