more threading
a little bit debug-code