remove extraneous object.isDead check