added delete thread