tweaked step 01 and implemented step 02