finish first step, initialization.