How do I write a thread? Stupid question I know ��