updated step 1 of main