You should reset $members instead of building it yourself