set_alive method