now the parameters for the current are passed inside a vector in Solver, needs testing