Add multithreaded to speed things up
Add multithreaded to speed things up