Moved thread to the correct place.