each used in place of for loop