Parallelized some things - did not improve performance