merged all changes, now have respawn and animations emitting