Migrated to multithreaded proccessing