Did you want 'ports.add(port)' here?