Text this: The decline of the function of rivers: tracing the effects on the waterfront treatments