added check alive