functioned lifetime table computation