Added a map for adding the results of the processing
increased the priority of main thread