foreach step 1