adding step 1 to code