threshold now uses multiple cores