Text this: A variable formulation of kinematic waves :