Enhancing thread model