Made a new check and cast for living entities.