Text this: Algorithms for calculation damage processes