refactored step 4