abandoned threading, too slow