In Howard's example, did group2 & group3 get listed in the output? The for each $member in $members loop should have listed all of the group's members.