removed unnecessary thread library