tasks arrays of threads