Now also multithreaded for surplus performance