Adding multiprocessing to make things quicker.