array to variadic