- changed alive method to have a better performance