introduced DescendingHistory
renamed legacy class
formatted code
var -> val
additional TODO comment