connections solver