itterate using each