Corrected variable definition for myPort