Multithread code done