Factors that affect longevity