current production code
replace double comment hash
align with current production
use proper backup suffixes (all timestamped)
add basic test case
fix remarks