Text this: Damage Function and Its Application