Introduced threading into the dispatcher