Added port pass-in argument