multithread setup first steps