first stage prepration for multithread