pass all arguments to solve()