foreach step 2