adjusted isAlive to be less verbose