parallelize classification step