Removed nb_ports_available variable