dedelte by thread.