redesigned parallelization to support an arbitrary argument count