Code finalizing Step 1