added isAlive and kill methods