Installing in a thread