configurable thread count