added thread count