added threads to process message