added comments to portScanner