book changed
added multithreading support for book learning