variadic apply