added the respawning process