taking out threading