updated logic for tracking alive members