updated threads, nn, dok