example was changed to see the improvement of multiprocessing