use .each in loop