docs for .thread()