Updated to use new life variable