init thread
working thread
removing useless instruction
removing useless imports