Created by: rahulcs
the code got updated from detect() to choosePort() while the comment did not.
detect()
choosePort()