changes for Step 3 and 4