Parametrized the number of conections.