made culculate if self alive a method