assign the port