changed num_alive