added getter for alive