thanks gary!  i went with the first option but use reduce instead of each